//
// Created by Administrator on 2020/7/12 0012.
//

#include "Salesman.h"


void Salesman::showData() const
{
    cout<<"编号："<<NO;
    cout<<"姓名： "<<name;
    cout<<"年龄： "<<age;
    cout<<"职称： "<<"saleman";
    cout<<"销售额: "<<sales<<endl;
}

string Salesman::getTitle() const
{
    return "Salesman";
}

double Salesman::getSales() const
{
    return sales;
}

void Salesman::setSales(double sales)
{
    Salesman::sales = sales;
}
